package com.exam.mapper;

import com.exam.pojo.ApiResult;
import com.exam.pojo.PaperManage;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface PaperMapper {
    @Select("select paperId,questionType,questionId from paper_manage")
    List<PaperManage> findAll();
    @Insert("insert into paper_manage(paperId,questionType,questionId) values " +
            "(#{paperId},#{questionType},#{questionId})")
    int add(PaperManage paperManage);
}
